projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afd359c
)
(command_loop_1): On entry, set last_command to this_command.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 13 Feb 1994 00:15:20 +0000
(
00:15
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 13 Feb 1994 00:15:20 +0000
(
00:15
+0000)
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 48ca4b72a123bfed6a12cd020bc3f8cf5f600771..1bab767b9a6e84e2be808da22ec68434afcbc384 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-898,13
+898,10
@@
command_loop_1 ()
waiting_for_input = 0;
cancel_echoing ();
- /* Don't clear out last_command at the beginning of a macro. */
- if (XTYPE (Vexecuting_macro) != Lisp_String)
- last_command = Qt;
-
nonundocount = 0;
no_redisplay = 0;
this_command_key_count = 0;
+ last_command = this_command;
/* Make sure this hook runs after commands that get errors and
throw to top level. */